home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000055_news@columbia.edu _Wed Apr 4 13:12:46 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA13557
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 4 Apr 2001 13:12:46 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA25207
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Apr 2001 12:51:08 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@columbia.edu (Frank da Cruz)
  10. Subject: Re: File transfer apps
  11. Date: 4 Apr 2001 16:51:07 GMT
  12. Organization: Columbia University
  13. Message-ID: <9afjdr$ojk$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <9afev4$pmc$1@news.panix.com>,
  17. Jeremiah DeWitt Weiner  <jdw+USENET@panix.com> wrote:
  18. : Vasilis Serghi <vserghi@jaguar.com> wrote:
  19. : > Is there an application out there, like laplink, that can be used for
  20. : > transferring files over parallel or serial cables? Something that is
  21. : > transparent to the OS type would be good.
  22. :     Depends how you want to do it.  You could just hook up the two
  23. : systems with the correct cable and do "cat myfile > /dev/ttyS1" on one
  24. : and "cat /dev/ttyS1 > myfile" on the other, but that's pretty ugly.
  25. :
  26. And risky, definitely not guaranteed to work since there is no error
  27. detection or correction.
  28.  
  29. : Alternately, you could set up a getty on one machine's serial port, and
  30. : then log in with something like minicom over the serial line, and use
  31. : zmodem (or xmodem, or kermit...)  Or you could set up SLIP/PPP (for a 
  32. : serial line) or PLIP (for a parallel connection) and then you can use
  33. : anything that works on top of TCP/IP.
  34. I'm not aware of anything that can use a parallel cable connection in
  35. UNIX for data transfer, but with serial ports and a null-modem cable,
  36. you can use Kermit:
  37.  
  38.   http://www.columbia.edu/kermit/ckermit.html
  39.  
  40. No need for minicom -- it calls Kermit anyway to transfer files, and Kermit
  41. itself already does everything minicom does.  IMPORTANT (no matter what
  42. software you use): the null-modem cable should be fully populated with all
  43. the appropriate crossovers, especially RTS and CTS.
  44.  
  45. Two scenarios:
  46.  
  47.  1. On the "far" machine, if you have a getty, then you can make the serial
  48.     port connection to it from the near machine, log in, start Kermit on the
  49.     far machine, and transfer files in the normal way.
  50.  
  51.  2. If you do not have a getty on the far machine, but it is physically
  52.     accessible to you, you can start Kermit on it and direct it to the port
  53.     to which the null-modem cable is connected, put it in server mode, and
  54.     then go back to the other computer and give client commands to send and
  55.     get files.
  56.  
  57. Example for scenario 1, starting on the near computer:
  58.  
  59.   $ kermit
  60.   C-Kermit> set port /dev/ttyS0  <-- Substitute appropriate port
  61.   C-Kermit> set speed 57600      <-- Or other desired speed
  62.   C-Kermit> set flow rts/cts     <-- Use hardware flow control
  63.   C-Kermit> connect
  64.   <press Enter key if you don't see anything>
  65.   login: jdw
  66.   Password: blah 
  67.   $ kermit                       <-- Start Kermit on far computer
  68.   C-Kermit>                      <-- Far Kermit's prompt
  69.   C-Kermit> server               <-- Put the far Kermit in server mode
  70.   <Type Ctrl-\ and then the letter c to escape back to near Kermit>
  71.   C-Kermit>                      <-- Near Kermit's prompt
  72.  
  73. Now you can give SEND, GET, REMOTE xxx, and BYE commands to the near
  74. Kermit.  Type HELP at the C-Kermit> prompt if you need help.
  75.  
  76. Example for scenario 2:
  77.  
  78. On the far computer:
  79.  
  80.   $ kermit 
  81.   C-Kermit> set port /dev/ttyS2  <-- Substitue appropriate port
  82.   C-Kermit> set speed 57600      <-- Or other desired speed
  83.   C-Kermit> set flow rts/cts     <-- hwfc
  84.   C-Kermit> server               <-- Start server mode
  85.  
  86. On the near computer:
  87.  
  88.   $ kermit 
  89.   C-Kermit> set port /dev/ttyS0  <-- Substitue appropriate port
  90.   C-Kermit> set speed 57600      <-- Must be same speed as far computer
  91.   C-Kermit> set flow rts/cts     <-- hwfc
  92.   C-Kermit>
  93.  
  94. Now you can give SEND, GET, REMOTE xxx, and BYE commands to the near
  95. Kermit.
  96.  
  97. - Frank